package peng.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import peng.dao.SystemConfigMapper;
import peng.entity.SystemConfig;
import peng.service.SystemConfigService;

@Service
public class SystemConfigServiceImpl implements SystemConfigService {

    @Autowired
    SystemConfigMapper systemConfigMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return systemConfigMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SystemConfig record) {
        return systemConfigMapper.insert(record);
    }

    @Override
    public int insertSelective(SystemConfig record) {
        return systemConfigMapper.insertSelective(record);
    }

    @Override
    public SystemConfig selectByPrimaryKey(Integer id) {
        return systemConfigMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(SystemConfig record) {
        return systemConfigMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SystemConfig record) {
        return systemConfigMapper.updateByPrimaryKey(record);
    }
}
